package fx.game.demo.window;

import fx.game.demo.common.BaseMeta;
import fx.game.demo.common.GameResource;
import fx.game.demo.common.LayoutManage;
import javafx.scene.Scene;
import javafx.stage.Stage;


/**
 *
 * @author: datom
 *
 * @create: 2021/12/6 22:42
 *
 * @Deprecated 关于页面
 *
 **/
public class AboutWindow extends Stage {

    public AboutWindow() {
        getIcons().add(GameResource.getAppIcon());
        setTitle("关于");
        setWidth(BaseMeta.ABOUT_WINDOW_WIDHT);
        setHeight(BaseMeta.ABOUT_WINDOW_HEIGHT);
        setResizable(false);
        setFullScreen(false);

        setScene(new Scene(LayoutManage.getAboutWindowLayout()));

    }
}
